package com.taxsearch.util;

/**
 * 
 * JSON模型
 * 
 * 用户后台向前台返回的JSON对象
 * 
 * @author 
 * 
 */
public class Json implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private boolean success = false;

	private String msg = "";

	private Object data = null;
	
	
	public Json() {
		super();
	}

	public Json(boolean success, String msg) {
		super();
		this.success = success;
		this.msg = msg;
	}
	

	public Json(boolean success, String msg, Object data) {
		super();
		this.success = success;
		this.msg = msg;
		this.data = data;
	}


	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getObj() {
		return data;
	}

	public void setObj(Object data) {
		this.data = data;
	}

}
